<template>
  <div class="demo">
    <h2>名字{{ Name }}</h2>
    <h2>性别:{{ sex }}</h2>
  </div>
</template>

<script>
export default {
  data() {
    return {
      Name: "张三",
      sex: "男",
    };
  },
};
</script>
<!--  scoped可以让style属性只负责这一个文件 -->
<style scoped>
.demo {
  background-color: yellow;
}
</style>
